package com.qdlc.p2p.biz.tpp.model;

import com.qdlc.p2p.common.constant.SinaConstant;
import com.qdlc.p2p.common.util.DateUtil;
import com.qdlc.p2p.dal.common.SystemConfigHelper;
import com.qdlc.p2p.dal.common.SystemConfigHelper.Nid;

/**
 * 新浪支付企业开户
 * 
 * @author ygw
 * @version 2.0
 * @date 2015年11月10日 下午2:48:26
 */
public class SinaAuditMemberInfos extends SinaModel {

	/**
	 * 接口名称 : 请求审核企业会员资质
	 * 类型（长度）：String(64)
	 */
	private String service = "audit_member_infos";

	/**
	 * 资质请求号
	 */
	private String audit_order_no;

	/**
	 * 会员类型 默认个人 1个人 ，2企业
	 */
	private String member_type;

	/**
	 * 公司名称
	 */
	private String company_name;

	/**
	 * 企业网址
	 */
	private String website;

	/**
	 * 企业地址
	 */
	private String address;

	/**
	 * 执照号
	 */
	private String license_no;

	/**
	 * 营业执照所在地
	 */
	private String license_address;

	/**
	 * 执照过期日（营业期限）
	 */
	private String license_expire_date;

	/**
	 * 营业范围
	 */
	private String business_scope;

	/**
	 * 联系电话
	 */
	private String telephone;

	/**
	 * 联系邮箱
	 */
	private String email;

	/**
	 * 组织机构代码
	 */
	private String organization_no;

	/**
	 * 企业简介
	 */
	private String summary;

	/**
	 * 企业法人
	 */
	private String legal_person;

	/**
	 * 法人证件号码
	 */
	private String cert_no;

	/**
	 * 证件类型
	 */
	private String cert_type;

	/**
	 * 法人手机号码
	 */
	private String legal_person_phone;

	/**
	 * 银行编码
	 */
	private String bank_code;

	/**
	 * 银行卡号
	 */
	private String bank_account_no;

	/**
	 * 卡类型
	 */
	private String card_type;

	/**
	 * 卡属性
	 */
	private String card_attribute;

	/**
	 * 省份
	 */
	private String province;

	/**
	 * 城市
	 */
	private String city;

	/**
	 * 支行名称
	 */
	private String bank_branch;

	/**
	 * 文件名称
	 */
	private String fileName;

	/**
	 * 摘要
	 */
	private String digest;

	/**
	 * 文件路劲
	 */
	private String file_path;

	/**
	 * 摘要类型
	 */
	private String digestType;

	/**
	 * 内部交易凭证号
	 */
	private String innerOrderNo;

	/**
	 * 审核结果
	 */
	private byte auditStatus;

	/**
	 * 审核结果建议
	 */
	private String auditMessage;

	/**
	 * 待签名字符数组
	 */
	private String[] signParamNames = new String[] { "service", "version", "request_time", "partner_id",
			"_input_charset", "audit_order_no", "identity_id", "identity_type", "member_type", "company_name",
			"website", "address", "license_no", "license_address", "license_expire_date", "business_scope", "telephone",
			"email", "organization_no", "summary", "legal_person", "cert_no", "cert_type", "legal_person_phone",
			"bank_code", "bank_account_no", "card_type", "card_attribute", "province", "city", "bank_branch",
			"fileName", "digest", "digestType", "notify_url" };

	/**
	 * 提交字符数组
	 */
	private String[] subParamNames = new String[] { "service", "version", "request_time", "partner_id",
			"_input_charset", "sign_type", "sign", "audit_order_no", "identity_id", "identity_type", "member_type",
			"company_name", "website", "address", "license_no", "license_address", "license_expire_date",
			"business_scope", "telephone", "email", "organization_no", "summary", "legal_person", "cert_no",
			"cert_type", "legal_person_phone", "bank_code", "bank_account_no", "card_type", "card_attribute",
			"province", "city", "bank_branch", "fileName", "digest", "digestType", "notify_url" };

	public SinaAuditMemberInfos() {
		super();
	}

	public SinaAuditMemberInfos(String audit_order_no, String extend_param, String identity_id, String company_name,
			String website, String address, String license_no, String license_address, String license_expire_date,
			String business_scope, String telephone, String email, String organization_no, String summary,
			String legal_person, String cert_no, String cert_type, String legal_person_phone, String bank_code,
			String bank_account_no, String card_type, String card_attribute, String province, String city,
			String bank_branch, String fileName, String digest, String digestType, String file_path) {
		super();
		this.audit_order_no = audit_order_no;
		this.company_name = company_name;
		this.website = website;
		this.address = address;
		this.license_no = license_no;
		this.license_address = license_address;
		this.license_expire_date = license_expire_date;
		this.business_scope = business_scope;
		this.telephone = telephone;
		this.email = email;
		this.organization_no = organization_no;
		this.summary = summary;
		this.legal_person = legal_person;
		this.cert_no = cert_no;
		this.cert_type = cert_type;
		this.legal_person_phone = legal_person_phone;
		this.bank_code = bank_code;
		this.bank_account_no = bank_account_no;
		this.card_type = card_type;
		this.card_attribute = card_attribute;
		this.province = province;
		this.city = city;
		this.bank_branch = bank_branch;
		this.fileName = fileName;
		this.digest = digest;
		this.digestType = digestType;
		this.file_path = file_path;
		this.setMember_type(SinaConstant.MEMBER_TYPE_COMPANY);
		this.setExtend_param(extend_param);
		this.setIdentity_type("UID");
		this.setIdentity_id(identity_id);
		this.setEncode(SinaConstant.ENCODE_TRUE);
		this.setRequest_time(DateUtil.dateStr3(DateUtil.getNow()));
		// 新浪回调地址
		this.setUrl_type(SinaConstant.URL_TYPE_MEMBER);
		this.setNotify_url(SystemConfigHelper.getValue(Nid.WEB_URL) + "/tpp/tppSinaAction/tppAuditMemberInfosNotice.html");
	}

	@Override
	public String getService() {
		return service;
	}

	@Override
	public void setService(String service) {
		this.service = service;
	}

	@Override
	public String[] getSignParamNames() {
		return signParamNames;
	}

	@Override
	public void setSignParamNames(String[] signParamNames) {
		this.signParamNames = signParamNames;
	}

	@Override
	public String[] getSubParamNames() {
		return subParamNames;
	}

	@Override
	public void setSubParamNames(String[] subParamNames) {
		this.subParamNames = subParamNames;
	}

	/**
	 * @return audit_order_no
	 */
	public String getAudit_order_no() {
		return audit_order_no;
	}

	/**
	 * @param audit_order_no 要设置的 audit_order_no
	 */
	public void setAudit_order_no(String audit_order_no) {
		this.audit_order_no = audit_order_no;
	}

	/**
	 * @return company_name
	 */
	public String getCompany_name() {
		return company_name;
	}

	/**
	 * @param company_name 要设置的 company_name
	 */
	public void setCompany_name(String company_name) {
		this.company_name = company_name;
	}

	/**
	 * @return website
	 */
	public String getWebsite() {
		return website;
	}

	/**
	 * @param website 要设置的 website
	 */
	public void setWebsite(String website) {
		this.website = website;
	}

	/**
	 * @return address
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * @param address 要设置的 address
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * @return license_no
	 */
	public String getLicense_no() {
		return license_no;
	}

	/**
	 * @param license_no 要设置的 license_no
	 */
	public void setLicense_no(String license_no) {
		this.license_no = license_no;
	}

	/**
	 * @return license_address
	 */
	public String getLicense_address() {
		return license_address;
	}

	/**
	 * @param license_address 要设置的 license_address
	 */
	public void setLicense_address(String license_address) {
		this.license_address = license_address;
	}

	/**
	 * @return license_expire_date
	 */
	public String getLicense_expire_date() {
		return license_expire_date;
	}

	/**
	 * @param license_expire_date 要设置的 license_expire_date
	 */
	public void setLicense_expire_date(String license_expire_date) {
		this.license_expire_date = license_expire_date;
	}

	/**
	 * @return business_scope
	 */
	public String getBusiness_scope() {
		return business_scope;
	}

	/**
	 * @param business_scope 要设置的 business_scope
	 */
	public void setBusiness_scope(String business_scope) {
		this.business_scope = business_scope;
	}

	/**
	 * @return telephone
	 */
	public String getTelephone() {
		return telephone;
	}

	/**
	 * @param telephone 要设置的 telephone
	 */
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	/**
	 * @return email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param email 要设置的 email
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @return organization_no
	 */
	public String getOrganization_no() {
		return organization_no;
	}

	/**
	 * @param organization_no 要设置的 organization_no
	 */
	public void setOrganization_no(String organization_no) {
		this.organization_no = organization_no;
	}

	/**
	 * @return summary
	 */
	public String getSummary() {
		return summary;
	}

	/**
	 * @param summary 要设置的 summary
	 */
	public void setSummary(String summary) {
		this.summary = summary;
	}

	/**
	 * @return legal_person
	 */
	public String getLegal_person() {
		return legal_person;
	}

	/**
	 * @param legal_person 要设置的 legal_person
	 */
	public void setLegal_person(String legal_person) {
		this.legal_person = legal_person;
	}

	/**
	 * @return cert_no
	 */
	public String getCert_no() {
		return cert_no;
	}

	/**
	 * @param cert_no 要设置的 cert_no
	 */
	public void setCert_no(String cert_no) {
		this.cert_no = cert_no;
	}

	/**
	 * @return cert_type
	 */
	public String getCert_type() {
		return cert_type;
	}

	/**
	 * @param cert_type 要设置的 cert_type
	 */
	public void setCert_type(String cert_type) {
		this.cert_type = cert_type;
	}

	/**
	 * @return legal_person_phone
	 */
	public String getLegal_person_phone() {
		return legal_person_phone;
	}

	/**
	 * @param legal_person_phone 要设置的 legal_person_phone
	 */
	public void setLegal_person_phone(String legal_person_phone) {
		this.legal_person_phone = legal_person_phone;
	}

	/**
	 * @return bank_code
	 */
	public String getBank_code() {
		return bank_code;
	}

	/**
	 * @param bank_code 要设置的 bank_code
	 */
	public void setBank_code(String bank_code) {
		this.bank_code = bank_code;
	}

	/**
	 * @return bank_account_no
	 */
	public String getBank_account_no() {
		return bank_account_no;
	}

	/**
	 * @param bank_account_no 要设置的 bank_account_no
	 */
	public void setBank_account_no(String bank_account_no) {
		this.bank_account_no = bank_account_no;
	}

	/**
	 * @return card_type
	 */
	public String getCard_type() {
		return card_type;
	}

	/**
	 * @param card_type 要设置的 card_type
	 */
	public void setCard_type(String card_type) {
		this.card_type = card_type;
	}

	/**
	 * @return card_attribute
	 */
	public String getCard_attribute() {
		return card_attribute;
	}

	/**
	 * @param card_attribute 要设置的 card_attribute
	 */
	public void setCard_attribute(String card_attribute) {
		this.card_attribute = card_attribute;
	}

	/**
	 * @return province
	 */
	public String getProvince() {
		return province;
	}

	/**
	 * @param province 要设置的 province
	 */
	public void setProvince(String province) {
		this.province = province;
	}

	/**
	 * @return city
	 */
	public String getCity() {
		return city;
	}

	/**
	 * @param city 要设置的 city
	 */
	public void setCity(String city) {
		this.city = city;
	}

	/**
	 * @return bank_branch
	 */
	public String getBank_branch() {
		return bank_branch;
	}

	/**
	 * @param bank_branch 要设置的 bank_branch
	 */
	public void setBank_branch(String bank_branch) {
		this.bank_branch = bank_branch;
	}

	/**
	 * @return fileName
	 */
	public String getFileName() {
		return fileName;
	}

	/**
	 * @param fileName 要设置的 fileName
	 */
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	/**
	 * @return digest
	 */
	public String getDigest() {
		return digest;
	}

	/**
	 * @param digest 要设置的 digest
	 */
	public void setDigest(String digest) {
		this.digest = digest;
	}

	/**
	 * @return digestType
	 */
	public String getDigestType() {
		return digestType;
	}

	/**
	 * @param digestType 要设置的 digestType
	 */
	public void setDigestType(String digestType) {
		this.digestType = digestType;
	}

	/**
	 * @return member_type
	 */
	public String getMember_type() {
		return member_type;
	}

	/**
	 * @param member_type 要设置的 member_type
	 */
	public void setMember_type(String member_type) {
		this.member_type = member_type;
	}

	/**
	 * @return file_path
	 */
	public String getFile_path() {
		return file_path;
	}

	/**
	 * @param file_path 要设置的 file_path
	 */
	public void setFile_path(String file_path) {
		this.file_path = file_path;
	}

	/**
	 * @return innerOrderNo
	 */
	public String getInnerOrderNo() {
		return innerOrderNo;
	}

	/**
	 * @param innerOrderNo 要设置的 innerOrderNo
	 */
	public void setInnerOrderNo(String innerOrderNo) {
		this.innerOrderNo = innerOrderNo;
	}

	/**
	 * @return auditMessage
	 */
	public String getAuditMessage() {
		return auditMessage;
	}

	/**
	 * @param auditMessage 要设置的 auditMessage
	 */
	public void setAuditMessage(String auditMessage) {
		this.auditMessage = auditMessage;
	}

	/**
	 * @return auditStatus
	 */
	public byte getAuditStatus() {
		return auditStatus;
	}

	/**
	 * @param auditStatus 要设置的 auditStatus
	 */
	public void setAuditStatus(byte auditStatus) {
		this.auditStatus = auditStatus;
	}

}
